<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class Unzip</title>
			<link rel="stylesheet" href="../../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class Unzip</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
													<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">UnZip Class</p>
<p class="description"><p>This class is based on a library I found at PHPClasses:  http://phpclasses.org/package/2495-PHP-Pack-and-unpack-files-packed-in-ZIP-archives.html</p><p>The original library is a little rough around the edges so I  refactored it and added several additional methods -- Phil Sturgeon</p><p>This class requires extension ZLib Enabled.</p></p>
	<ul class="tags">
				<li><span class="field">author:</span> Phil Sturgeon</li>
				<li><span class="field">author:</span> Alexandre Tedeschi</li>
				<li><span class="field">version:</span> 1.0.0</li>
				<li><span class="field">link:</span> <a href="http://bitbucket.org/philsturgeon/codeigniter-unzip">http://bitbucket.org/philsturgeon/codeigniter-unzip</a></li>
				<li><span class="field">license:</span> </li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_libraries---Unzip.php.html">/libraries/Unzip.php</a> (line <span class="field"><a href="../../__filesource/fsource_CodeIgniter_Libraries_librariesUnzip.php.html#a22">22</a></span>)
		</p>
		
				
		<pre></pre>
	
			</div>
</div>



	<a name="sec-var-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Variable Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
						<span class="disabled">Vars</span> (<a href="#sec-vars">details</a>)
							| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
								</div>
		<div class="info-box-body">
			<div class="var-summary">
																																																																																																																																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$apply_chmod" title="details" class="var-name">$apply_chmod</a>
				</div>
																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$central_dir_list" title="details" class="var-name">$central_dir_list</a>
				</div>
																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$central_signature_end" title="details" class="var-name">$central_signature_end</a>
				</div>
																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$compressed_list" title="details" class="var-name">$compressed_list</a>
				</div>
																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$dir_signature" title="details" class="var-name">$dir_signature</a>
				</div>
																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$end_of_central" title="details" class="var-name">$end_of_central</a>
				</div>
																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$error" title="details" class="var-name">$error</a>
				</div>
																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$fh" title="details" class="var-name">$fh</a>
				</div>
																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$info" title="details" class="var-name">$info</a>
				</div>
																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$zip_signature" title="details" class="var-name">$zip_signature</a>
				</div>
																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$_allow_extensions" title="details" class="var-name">$_allow_extensions</a>
				</div>
																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$_skip_dirs" title="details" class="var-name">$_skip_dirs</a>
				</div>
																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$_target_dir" title="details" class="var-name">$_target_dir</a>
				</div>
																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$_zip_file" title="details" class="var-name">$_zip_file</a>
				</div>
											</div>
		</div>
	</div>

	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
																		<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																																																																																																												
												<div class="method-definition">
											<span class="method-result">none</span>
										<a href="#__construct" title="details" class="method-name">__construct</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">0</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">none</span>
										<a href="#allow" title="details" class="method-name">allow</a>
											([<span class="var-type">none</span>&nbsp;<span class="var-name">$ext</span> = <span class="var-default">NULL</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">none</span>
										<a href="#close" title="details" class="method-name">close</a>
											(<span class="var-type">none</span>&nbsp;<span class="var-name">0</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#debug_string" title="details" class="method-name">debug_string</a>
											([<span class="var-type">string</span>&nbsp;<span class="var-name">$open</span> = <span class="var-default">'&lt;p&gt;'</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$close</span> = <span class="var-default">'&lt;/p&gt;'</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#error_string" title="details" class="method-name">error_string</a>
											([<span class="var-type">string</span>&nbsp;<span class="var-name">$open</span> = <span class="var-default">'&lt;p&gt;'</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$close</span> = <span class="var-default">'&lt;/p&gt;'</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">none</span>
										<a href="#extract" title="details" class="method-name">extract</a>
											(<span class="var-type">none</span>&nbsp;<span class="var-name">$zip_file</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$target_dir</span> = <span class="var-default">NULL</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$preserve_filepath</span> = <span class="var-default">TRUE</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">none</span>
										<a href="#set_debug" title="details" class="method-name">set_debug</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$string</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">none</span>
										<a href="#set_error" title="details" class="method-name">set_error</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$string</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">Unziped</span>
										<a href="#_extract_file" title="details" class="method-name">_extract_file</a>
											(<span class="var-type">string,</span>&nbsp;<span class="var-name">$compressed_file_name</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$target_file_name</span> = <span class="var-default">FALSE</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#_get_file_header" title="details" class="method-name">_get_file_header</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">&$fh</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$start_offset</span> = <span class="var-default">FALSE</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">mixed</span>
										<a href="#_list_files" title="details" class="method-name">_list_files</a>
											([<span class="var-type">boolean</span>&nbsp;<span class="var-name">$stop_on_file</span> = <span class="var-default">FALSE</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#_load_files_by_signatures" title="details" class="method-name">_load_files_by_signatures</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">&$fh</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$stop_on_file</span> = <span class="var-default">FALSE</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#_load_file_list_by_eof" title="details" class="method-name">_load_file_list_by_eof</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">&$fh</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$stop_on_file</span> = <span class="var-default">FALSE</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">none</span>
										<a href="#_uncompress" title="details" class="method-name">_uncompress</a>
											(<span class="var-type">Filecontent,</span>&nbsp;<span class="var-name">$content</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$mode</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$uncompressed_size</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$target_file_name</span> = <span class="var-default">FALSE</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">none</span>
										<a href="#__destroy" title="details" class="method-name">__destroy</a>
											(<span class="var-type">none</span>&nbsp;<span class="var-name">0</span>)
									</div>
								</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<a name="var$apply_chmod" id="$apply_chmod"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$apply_chmod</span>
			 = <span class="var-default"> 0777</span>			(line <span class="line-number"><a href="../../__filesource/fsource_CodeIgniter_Libraries_librariesUnzip.php.html#a37">37</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	
		
		

</div>
<a name="var$central_dir_list" id="$central_dir_list"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$central_dir_list</span>
			 = <span class="var-default">array()</span>			(line <span class="line-number"><a href="../../__filesource/fsource_CodeIgniter_Libraries_librariesUnzip.php.html#a27">27</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	
		
		

</div>
<a name="var$central_signature_end" id="$central_signature_end"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$central_signature_end</span>
			 = <span class="var-default"> &quot;\x50\x4b\x05\x06&quot;</span>			(line <span class="line-number"><a href="../../__filesource/fsource_CodeIgniter_Libraries_librariesUnzip.php.html#a45">45</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	
		
		

</div>
<a name="var$compressed_list" id="$compressed_list"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$compressed_list</span>
			 = <span class="var-default">array()</span>			(line <span class="line-number"><a href="../../__filesource/fsource_CodeIgniter_Libraries_librariesUnzip.php.html#a24">24</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	
		
		

</div>
<a name="var$dir_signature" id="$dir_signature"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$dir_signature</span>
			 = <span class="var-default"> &quot;\x50\x4b\x01\x02&quot;</span>			(line <span class="line-number"><a href="../../__filesource/fsource_CodeIgniter_Libraries_librariesUnzip.php.html#a42">42</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	
		
		

</div>
<a name="var$end_of_central" id="$end_of_central"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$end_of_central</span>
			 = <span class="var-default">array()</span>			(line <span class="line-number"><a href="../../__filesource/fsource_CodeIgniter_Libraries_librariesUnzip.php.html#a30">30</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	
		
		

</div>
<a name="var$error" id="$error"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$error</span>
			 = <span class="var-default">array()</span>			(line <span class="line-number"><a href="../../__filesource/fsource_CodeIgniter_Libraries_librariesUnzip.php.html#a34">34</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	
		
		

</div>
<a name="var$fh" id="$fh"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$fh</span>
						(line <span class="line-number"><a href="../../__filesource/fsource_CodeIgniter_Libraries_librariesUnzip.php.html#a38">38</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	
		
		

</div>
<a name="var$info" id="$info"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$info</span>
			 = <span class="var-default">array()</span>			(line <span class="line-number"><a href="../../__filesource/fsource_CodeIgniter_Libraries_librariesUnzip.php.html#a33">33</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	
		
		

</div>
<a name="var$zip_signature" id="$zip_signature"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$zip_signature</span>
			 = <span class="var-default"> &quot;\x50\x4b\x03\x04&quot;</span>			(line <span class="line-number"><a href="../../__filesource/fsource_CodeIgniter_Libraries_librariesUnzip.php.html#a39">39</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	
		
		

</div>
<a name="var$_allow_extensions" id="$_allow_extensions"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$_allow_extensions</span>
			 = <span class="var-default"> NULL</span>			(line <span class="line-number"><a href="../../__filesource/fsource_CodeIgniter_Libraries_librariesUnzip.php.html#a50">50</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	
		
		

</div>
<a name="var$_skip_dirs" id="$_skip_dirs"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$_skip_dirs</span>
			 = <span class="var-default">array('__MACOSX')</span>			(line <span class="line-number"><a href="../../__filesource/fsource_CodeIgniter_Libraries_librariesUnzip.php.html#a48">48</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	
		
		

</div>
<a name="var$_target_dir" id="$_target_dir"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$_target_dir</span>
			 = <span class="var-default"> FALSE</span>			(line <span class="line-number"><a href="../../__filesource/fsource_CodeIgniter_Libraries_librariesUnzip.php.html#a36">36</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	
		
		

</div>
<a name="var$_zip_file" id="$_zip_file"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$_zip_file</span>
			 = <span class="var-default"> ''</span>			(line <span class="line-number"><a href="../../__filesource/fsource_CodeIgniter_Libraries_librariesUnzip.php.html#a35">35</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	
		
		

</div>
						
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
																	<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>

<a name="method__construct" id="__construct"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">Constructor __construct</span> (line <span class="line-number"><a href="../../__filesource/fsource_CodeIgniter_Libraries_librariesUnzip.php.html#a61">61</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Constructor</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">none</span>
		<span class="method-name">
			__construct
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">0</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">0</span>			</li>
				</ul>
		
			
	</div>
<a name="methodallow" id="allow"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">allow</span> (line <span class="line-number"><a href="../../__filesource/fsource_CodeIgniter_Libraries_librariesUnzip.php.html#a148">148</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">What extensions do we want out of this ZIP</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">none</span>
		<span class="method-name">
			allow
		</span>
					([<span class="var-type">none</span>&nbsp;<span class="var-name">$ext</span> = <span class="var-default">NULL</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">none</span>
				<span class="var-name">$ext</span>			</li>
				</ul>
		
			
	</div>
<a name="methodclose" id="close"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">close</span> (line <span class="line-number"><a href="../../__filesource/fsource_CodeIgniter_Libraries_librariesUnzip.php.html#a317">317</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Free the file resource.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">none</span>
		<span class="method-name">
			close
		</span>
					(<span class="var-type">none</span>&nbsp;<span class="var-name">0</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">none</span>
				<span class="var-name">0</span>			</li>
				</ul>
		
			
	</div>
<a name="methoddebug_string" id="debug_string"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">debug_string</span> (line <span class="line-number"><a href="../../__filesource/fsource_CodeIgniter_Libraries_librariesUnzip.php.html#a176">176</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Show debug messages</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			debug_string
		</span>
					([<span class="var-type">string</span>&nbsp;<span class="var-name">$open</span> = <span class="var-default">'&lt;p&gt;'</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$close</span> = <span class="var-default">'&lt;/p&gt;'</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$open</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$close</span>			</li>
				</ul>
		
			
	</div>
<a name="methoderror_string" id="error_string"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">error_string</span> (line <span class="line-number"><a href="../../__filesource/fsource_CodeIgniter_Libraries_librariesUnzip.php.html#a162">162</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Show error messages</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			error_string
		</span>
					([<span class="var-type">string</span>&nbsp;<span class="var-name">$open</span> = <span class="var-default">'&lt;p&gt;'</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$close</span> = <span class="var-default">'&lt;/p&gt;'</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$open</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$close</span>			</li>
				</ul>
		
			
	</div>
<a name="methodextract" id="extract"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">extract</span> (line <span class="line-number"><a href="../../__filesource/fsource_CodeIgniter_Libraries_librariesUnzip.php.html#a75">75</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Unzip all files in archive.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">none</span>
		<span class="method-name">
			extract
		</span>
					(<span class="var-type">none</span>&nbsp;<span class="var-name">$zip_file</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$target_dir</span> = <span class="var-default">NULL</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$preserve_filepath</span> = <span class="var-default">TRUE</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">none</span>
				<span class="var-name">$zip_file</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$target_dir</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$preserve_filepath</span>			</li>
				</ul>
		
			
	</div>
<a name="methodset_debug" id="set_debug"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">set_debug</span> (line <span class="line-number"><a href="../../__filesource/fsource_CodeIgniter_Libraries_librariesUnzip.php.html#a204">204</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Save debug data</p>
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">none</span>
		<span class="method-name">
			set_debug
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$string</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$string</span>			</li>
				</ul>
		
			
	</div>
<a name="methodset_error" id="set_error"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">set_error</span> (line <span class="line-number"><a href="../../__filesource/fsource_CodeIgniter_Libraries_librariesUnzip.php.html#a190">190</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Save errors</p>
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">none</span>
		<span class="method-name">
			set_error
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$string</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$string</span>			</li>
				</ul>
		
			
	</div>
<a name="method_extract_file" id="_extract_file"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">_extract_file</span> (line <span class="line-number"><a href="../../__filesource/fsource_CodeIgniter_Libraries_librariesUnzip.php.html#a263">263</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Unzip file in archive.</p>
	<ul class="tags">
				<li><span class="field">return:</span> file.</li>
				<li><span class="field">access:</span> private</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">Unziped</span>
		<span class="method-name">
			_extract_file
		</span>
					(<span class="var-type">string,</span>&nbsp;<span class="var-name">$compressed_file_name</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$target_file_name</span> = <span class="var-default">FALSE</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string,</span>
				<span class="var-name">$compressed_file_name</span><span class="var-description">: boolean</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$target_file_name</span>			</li>
				</ul>
		
			
	</div>
<a name="method_get_file_header" id="_get_file_header"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">_get_file_header</span> (line <span class="line-number"><a href="../../__filesource/fsource_CodeIgniter_Libraries_librariesUnzip.php.html#a557">557</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			_get_file_header
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">&$fh</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$start_offset</span> = <span class="var-default">FALSE</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">&$fh</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$start_offset</span>			</li>
				</ul>
		
			
	</div>
<a name="method_list_files" id="_list_files"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">_list_files</span> (line <span class="line-number"><a href="../../__filesource/fsource_CodeIgniter_Libraries_librariesUnzip.php.html#a218">218</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">List all files in archive.</p>
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">mixed</span>
		<span class="method-name">
			_list_files
		</span>
					([<span class="var-type">boolean</span>&nbsp;<span class="var-name">$stop_on_file</span> = <span class="var-default">FALSE</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">boolean</span>
				<span class="var-name">$stop_on_file</span>			</li>
				</ul>
		
			
	</div>
<a name="method_load_files_by_signatures" id="_load_files_by_signatures"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">_load_files_by_signatures</span> (line <span class="line-number"><a href="../../__filesource/fsource_CodeIgniter_Libraries_librariesUnzip.php.html#a522">522</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			_load_files_by_signatures
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">&$fh</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$stop_on_file</span> = <span class="var-default">FALSE</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">&$fh</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$stop_on_file</span>			</li>
				</ul>
		
			
	</div>
<a name="method_load_file_list_by_eof" id="_load_file_list_by_eof"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">_load_file_list_by_eof</span> (line <span class="line-number"><a href="../../__filesource/fsource_CodeIgniter_Libraries_librariesUnzip.php.html#a395">395</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			_load_file_list_by_eof
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">&$fh</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$stop_on_file</span> = <span class="var-default">FALSE</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">&$fh</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$stop_on_file</span>			</li>
				</ul>
		
			
	</div>
<a name="method_uncompress" id="_uncompress"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">_uncompress</span> (line <span class="line-number"><a href="../../__filesource/fsource_CodeIgniter_Libraries_librariesUnzip.php.html#a349">349</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Uncompress file. And save it to the targetFile.</p>
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">none</span>
		<span class="method-name">
			_uncompress
		</span>
					(<span class="var-type">Filecontent,</span>&nbsp;<span class="var-name">$content</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$mode</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$uncompressed_size</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$target_file_name</span> = <span class="var-default">FALSE</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">Filecontent,</span>
				<span class="var-name">$content</span><span class="var-description">: int, int, boolean</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$mode</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$uncompressed_size</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$target_file_name</span>			</li>
				</ul>
		
			
	</div>
<a name="method__destroy" id="__destroy"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">__destroy</span> (line <span class="line-number"><a href="../../__filesource/fsource_CodeIgniter_Libraries_librariesUnzip.php.html#a335">335</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Free the file resource Automatic destroy.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">none</span>
		<span class="method-name">
			__destroy
		</span>
					(<span class="var-type">none</span>&nbsp;<span class="var-name">0</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">none</span>
				<span class="var-name">0</span>			</li>
				</ul>
		
			
	</div>
						
		</div>
	</div>


	<p class="notes" id="credit">
		Documentation generated on Tue, 15 Jan 2013 16:54:11 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
	</p>
	</div></body>
</html>